:root {
  --ink: #25264b;
  --text: #4e526d;
  --muted: #81859b;
  --primary: #6b5ce2;
  --primary-dark: #5646cb;
  --line: #eeedf5;
  --surface: #f7f8fc;
  --lavender: #efecfc;
  --green: #32a68b;
  --radius: 20px;
}

/* Thiết lập chung */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a99ae9;
  outline-offset: 4px;
}

button,
input,
textarea {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px;
  border-radius: 8px;
  background: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

/* Menu bên trái */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;

  display: flex;
  flex-direction: column;

  width: 228px;
  padding: 30px 19px 16px;

  background: #ffffff;
  border-right: 1px solid var(--line);

  overflow-y: auto;
  overscroll-behavior: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;

  width: fit-content;
  padding-left: 7px;
}

.brand img {
  object-fit: contain;
}

.brand > span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.1px;
}

.brand-dot {
  color: var(--primary);
}

.brand-note {
  margin: 7px 0 30px 10px;
  color: #9292a7;
  font-size: 9px;
  letter-spacing: 0.15px;
}

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;

  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;

  color: #7a7d94;
  font-size: 11px;
  font-weight: 500;

  transition:
    background 0.2s,
    color 0.2s;
}

.nav-item > .icon {
  width: 18px;
  height: 18px;
}

.nav-item:hover {
  background: #f8f6fe;
  color: var(--primary);
}

.nav-item.active {
  background: #efecfc;
  color: var(--primary);
  font-weight: 600;
}

.active-dot {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--primary);
}

.nav-heading {
  margin: 18px 12px 6px;
  color: #a2a3b2;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.nav-tag {
  margin-left: auto;
  padding: 2px 4px;
  border-radius: 4px;

  background: #f3efff;
  color: #9182bf;
  font-size: 7px;
  white-space: nowrap;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}

.daily-note {
  position: relative;
  padding: 20px 13px 15px;
  border: 1px solid #efe9fc;
  border-radius: 14px;

  background: linear-gradient(
    135deg,
    #f2edff,
    #faf8ff
  );

  overflow: hidden;
}

.daily-note::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -40px;

  width: 90px;
  height: 90px;
  border: 1px solid #e5dcf9;
  border-radius: 50%;
}

.note-spark {
  display: block;
  margin-bottom: 11px;
  color: #a994e6;
  font-size: 22px;
  line-height: 1;
}

.daily-note strong {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8;
}

.daily-note p {
  margin-top: 8px;
  color: #9b91b4;
  font-size: 8px;
}

.logout-button {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  margin-top: 13px;
  padding: 14px 12px;
  border: 0;
  border-radius: 9px;

  background: transparent;
  color: #868498;
  font-size: 11px;
}

.logout-button:hover {
  background: #fff1f2;
  color: #b26170;
}

.logout-button .icon {
  width: 17px;
  height: 17px;
}

.sidebar-footer {
  margin-top: 6px;
  color: #bbb8c6;
  font-size: 7px;
  letter-spacing: 1.1px;
  text-align: center;
}

/* Thanh phía trên */
.workspace {
  min-width: 0;
  margin-left: 228px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  height: 87px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 540px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 11px;

  height: 42px;
  padding: 0 14px;

  border: 1px solid #f0eff7;
  border-radius: 11px;

  background: #f7f8fc;
  color: #a0a3b7;
}

.search-form .icon {
  width: 17px;
  height: 17px;
}

.search-form input {
  width: 100%;
  min-width: 0;
  height: 100%;

  border: 0;
  outline: none;
  background: none;

  color: var(--text);
  font-size: 10px;
}

.search-form input::placeholder {
  color: #a3a5b7;
}

.search-form:focus-within {
  border-color: #c6bdf0;
  box-shadow: 0 0 0 3px #6b5ce20a;
}

.search-form kbd {
  display: grid;
  place-items: center;
  flex: none;

  width: 20px;
  height: 21px;

  border: 1px solid #e4e4ed;
  border-radius: 4px;

  color: #b0b1bf;
  font: inherit;
  font-size: 11px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 19px;
  flex: none;
}

.topbar-separator {
  width: 1px;
  height: 29px;
  background: #efedf5;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;

  width: 38px;
  height: 38px;

  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #85849b;
}

.icon-button:hover {
  background: #f2effb;
  color: var(--primary);
}

.notification-wrap,
.profile-wrap {
  position: relative;
}

.bell-button {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: 6px;
  right: 8px;

  width: 6px;
  height: 6px;

  border: 1px solid #ffffff;
  border-radius: 50%;
  background: #ef9c90;
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 11px;

  padding: 4px 0;
  border: 0;
  background: none;

  text-align: left;
}

.profile-avatar {
  display: grid;
  place-items: center;
  flex: none;

  width: 39px;
  height: 39px;
  border-radius: 50%;

  background: #f3e5d9;
  color: #9f7659;
  font-size: 13px;
  font-weight: 600;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 155px;
}

.profile-copy strong {
  overflow: hidden;

  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.profile-copy small {
  color: #9c9aac;
  font-size: 8px;
}

.profile-chevron {
  width: 15px;
  height: 15px;
  margin-left: 4px;
  color: #9994ac;
}

.profile-menu,
.notification-popover,
.search-results {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  z-index: 80;

  width: 290px;
  padding: 19px;

  border: 1px solid #eeebf7;
  border-radius: 14px;

  background: #ffffff;
  box-shadow: 0 16px 50px #32225415;
}

.profile-menu strong {
  display: block;
  margin: 8px 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.profile-menu p,
.notification-popover p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.notification-popover > strong {
  font-size: 13px;
}

.notification-popover .text-button {
  display: inline-flex;
  margin-top: 14px;
}

.search-results {
  right: auto;
  left: 0;

  width: 100%;
  max-height: 340px;
  padding: 8px;

  overflow-y: auto;
}

.search-result {
  display: block;
  width: 100%;
  padding: 12px;

  border: 0;
  border-radius: 8px;
  background: none;

  font-size: 12px;
  text-align: left;
}

.search-result:hover {
  background: #f6f3ff;
}

.search-result small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.mobile-menu {
  display: none;
}

/* Bố cục trang chủ */
.page-content {
  max-width: 1700px;
  margin: 0 auto;
  padding: 30px 32px 0;
}

.eyebrow {
  display: block;
  color: #a09ab4;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.wave {
  font-size: 23px;
}

.today-chip {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 9px 12px;
  border: 1px solid #e8e7f1;
  border-radius: 8px;

  background: #ffffff80;
  color: #9190a3;
  font-size: 9px;
  white-space: nowrap;
}

.today-chip .icon {
  width: 14px;
  height: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 25px;
  align-items: start;
}

.main-column,
.right-column {
  min-width: 0;
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 13px;
}

/* Ô chào mừng */
.welcome-card {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 267px;
  border: 1px solid #e8e3fa;
  border-radius: 21px;

  background: linear-gradient(
    115deg,
    #efeaff 0%,
    #eef0ff 65%,
    #edf1ff 100%
  );

  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 62%;
  padding: 29px 28px;
}

.hero-content p {
  color: #8982a6;
  font-size: 10px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 23px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 39px;
  padding: 10px 16px;

  border: 1px solid transparent;
  border-radius: 8px;

  background: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;

  transition:
    background 0.2s,
    transform 0.2s;
}

.primary-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.primary-button .icon {
  width: 15px;
  height: 15px;
}

.secondary-button {
  border-color: #e4dff1;
  background: #ffffff;
  color: var(--primary);
}

.secondary-button:hover {
  background: #f7f3ff;
}

.hero-secondary {
  padding: 8px 0;
  border: 0;
  background: none;

  color: #9382b4;
  font-size: 9px;
  white-space: nowrap;
}

.hero-secondary > span {
  margin-left: 3px;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;

  display: grid;
  place-items: center;

  width: 45%;
  pointer-events: none;
}

.hero-art img {
  position: relative;
  z-index: 1;

  width: 110%;
  height: auto;
  max-height: 280px;

  object-fit: contain;
  filter: drop-shadow(0 15px 14px #a29dd42b);
  transform: translate(0, 3px);
}

.hero-orbit {
  position: absolute;
  right: -9px;

  width: 210px;
  height: 210px;

  border: 1px solid #ddd9f5;
  border-radius: 50%;

  box-shadow:
    0 0 0 22px #ffffff20,
    0 0 0 23px #e2dff67a;
}

.hero-star {
  position: absolute;
  color: #b4a4dd;
}

.star-one {
  top: 27px;
  right: 28px;
  font-size: 35px;
  transform: rotate(10deg);
}

.star-two {
  bottom: 33px;
  left: 12px;
  font-size: 29px;
}

.hero-art-label {
  position: absolute;
  right: 19px;
  bottom: 22px;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 6px 10px;

  border: 1px solid #ffffffb0;
  border-radius: 7px;

  background: #ffffffb3;
  color: #9c8dbb;
  font-size: 7px;

  transform: rotate(-5deg);
}

.hero-art-label .icon {
  width: 11px;
  height: 11px;
}

/* Thống kê nhanh */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  padding: 20px 0 24px;
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stat-icon {
  display: grid;
  place-items: center;
  flex: none;

  width: 37px;
  height: 37px;
  border-radius: 11px;
}

.stat-icon .icon {
  width: 18px;
  height: 18px;
}

.lavender {
  background: #efebfc;
  color: #9684d4;
}

.mint {
  background: #e7f5f0;
  color: #73b19b;
}

.peach {
  background: #fdf0e7;
  color: #d6a283;
}

.quick-stat > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.quick-stat strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.quick-stat > div > span {
  color: #a19caf;
  font-size: 8px;
  line-height: 1.6;
}

/* Môn học */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.section-heading h2 {
  margin-top: 5px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.section-heading .eyebrow {
  font-size: 7px;
  letter-spacing: 1.2px;
}

.section-note {
  color: #aaa3b8;
  font-size: 8px;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.subject-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  min-height: 171px;
  padding: 19px 15px 13px;

  border: 1px solid transparent;
  border-radius: 15px;

  text-align: left;

  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.subject-card:hover {
  box-shadow: 0 10px 22px #46336e0d;
  transform: translateY(-4px);
}

.subject-icon {
  display: grid;
  place-items: center;

  width: 37px;
  height: 37px;
  margin-bottom: 12px;

  border-radius: 11px;
  background: #ffffffa8;
}

.subject-icon .icon {
  width: 23px;
  height: 23px;
}

.subject-name {
  color: #4f4b64;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.subject-description {
  margin-top: 5px;
  color: #9690a6;
  font-size: 7px;
  line-height: 1.8;
  white-space: nowrap;
}

.subject-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;

  width: 100%;
  margin-top: auto;
  padding-top: 17px;

  color: #a18db9;
}

.subject-footer small {
  font-size: 7px;
}

.subject-footer .icon {
  width: 13px;
  height: 13px;
}

.math-card {
  border-color: #e9e2fb;
  background: #eeeafc;
  color: #a18ad8;
}

.history-card {
  border-color: #f9e8df;
  background: #fdf0e9;
  color: #d5a184;
}

.english-card {
  border-color: #e1efea;
  background: #eaf5f1;
  color: #88b19f;
}

.it-card {
  border-color: #e3eafa;
  background: #eaf0fc;
  color: #8da4d2;
}

/* Tiến độ và việc sắp tới */
.lower-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 25px;
}

.panel {
  min-width: 0;
  padding: 21px 20px;

  border: 1px solid #eeedf4;
  border-radius: 17px;

  background: #ffffff;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panel-heading h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 4px 0;
  border: 0;
  background: none;

  color: #a398bb;
  font-size: 8px;
  white-space: nowrap;
}

.text-button:hover {
  color: var(--primary);
}

.muted {
  color: var(--muted);
}

.muted-icon {
  width: 16px;
  height: 16px;
  color: #b6adc5;
}

.progress-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0 21px;
}

.progress-ring {
  --progress: 0;

  position: relative;

  display: grid;
  place-items: center;
  flex: none;

  width: 113px;
  height: 113px;
  padding: 11px;
  border-radius: 50%;

  background: conic-gradient(
    from -90deg,
    #9b8ad9 calc(var(--progress) * 1%),
    #f0ecf9 0
  );
}

.progress-ring::after {
  content: "";
  position: absolute;
  inset: 4px;

  border: 1px dashed #ffffff60;
  border-radius: 50%;
}

.progress-ring-inner {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  border-radius: 50%;
  background: #ffffff;
}

.progress-ring-inner strong {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -1px;
}

.progress-ring-inner > span {
  margin-top: 2px;
  color: #a39bad;
  font-size: 6px;
}

.progress-copy {
  min-width: 0;
}

.pill {
  display: inline-flex;
  padding: 3px 6px;
  border-radius: 5px;

  background: #f3f0fc;
  color: #aa9ac7;

  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.7px;
}

.progress-copy > p {
  margin: 9px 0;
  color: #9790a6;
  font-size: 8px;
  line-height: 1.8;
}

.progress-legend {
  display: flex;
  flex-direction: column;
  gap: 7px;

  margin: 0;
  padding: 0;
  list-style: none;

  color: #8b839b;
  font-size: 8px;
}

.progress-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-legend li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ab96d7;
}

.panel-footnote {
  display: flex;
  align-items: center;
  gap: 6px;

  padding-top: 11px;
  border-top: 1px solid #f3eff7;

  color: #b0a4bc;
  font-size: 7px;
}

.tiny-spark {
  color: #b9a3dc;
  font-size: 13px;
}

.upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 11px;

  min-height: 131px;
  margin-top: 14px;
}

.upcoming-list > .muted {
  padding: 15px 0;
  font-size: 10px;
  line-height: 1.9;
}

.upcoming-item {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 9px;
  border: 1px solid #f4f0f9;
  border-radius: 9px;

  background: #faf9fd;
  font-size: 9px;
}

.upcoming-item strong {
  display: block;
  font-size: 9px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.upcoming-item small {
  display: block;
  margin-top: 4px;
  color: #aaa0b8;
  font-size: 7px;
}

.upcoming-item .icon {
  width: 17px;
  height: 17px;
  color: #b2a1ce;
}

.add-plan-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  width: 100%;
  margin-top: 13px;
  padding: 10px 7px;

  border: 1px dashed #ded6ed;
  border-radius: 9px;
  background: none;

  color: #b1a0c8;
  font-size: 8px;
}

.add-plan-button:hover {
  background: #faf7ff;
  color: var(--primary);
}

.add-plan-button .icon {
  width: 13px;
  height: 13px;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;

  padding: 23px 0 19px;

  color: #b7b2c3;
  font-size: 7px;
}

.heart {
  color: #b6a3cc;
  font-size: 13px;
}

/* Thông báo và mục tiêu */
.notifications-panel,
.goals-panel {
  padding: 19px 17px;
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 13px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 9px;
}

.notification-icon {
  display: grid;
  place-items: center;
  flex: none;

  width: 29px;
  height: 29px;
  border-radius: 9px;

  background: #f1edfb;
  color: #b7a3d6;
  font-size: 13px;
}

.notification-copy {
  min-width: 0;
}

.notification-copy strong,
.notification-copy p {
  color: #787088;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.notification-copy small {
  display: block;
  margin-top: 2px;
  color: #b0a6bd;
  font-size: 7px;
}

.notification-list > .muted {
  font-size: 10px;
}

.small-icon-button {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #f7f4fd;
  color: #b7a7cd;
}

.small-icon-button .icon {
  width: 14px;
  height: 14px;
}

.goals-subtitle {
  margin: 7px 0 13px;
  color: #b0a5bc;
  font-size: 8px;
}

.goal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goal-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.goal-toggle {
  appearance: none;

  display: inline-grid;
  place-items: center;

  width: 15px;
  height: 15px;
  min-width: 15px;

  margin: 2px 0 0;

  border: 1.5px solid #ded6e8;
  border-radius: 50%;

  background: #ffffff;
  cursor: pointer;
}

.goal-toggle:checked {
  border-color: #a698cf;
  background: #a698cf;
}

.goal-toggle:checked::after {
  content: "✓";
  color: #ffffff;
  font-size: 9px;
}

.goal-title {
  color: #8d819c;
  font-size: 9px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.goal-meta {
  display: block;
  margin-top: 2px;
  color: #beb1c8;
  font-size: 7px;
}

.goal-row:has(.goal-toggle:checked) .goal-title {
  color: #b5a9bf;
  text-decoration: line-through;
}

.goal-actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.goal-note {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid #f5f0f8;

  color: #c1b4ca;
  font-size: 7px;
}

.goal-note .icon {
  width: 13px;
  height: 13px;
}

/* Hộp thoại mục tiêu và thông báo */
.main-dialog {
  width: min(610px, calc(100% - 30px));
  max-height: 85svh;
  margin: auto;
  padding: 0;

  border: 1px solid #e6def1;
  border-radius: 21px;

  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 30px 100px #29213d24;

  overflow: auto;
}

.main-dialog::backdrop {
  background: #28203850;
  backdrop-filter: blur(4px);
}

.dialog-heading {
  position: sticky;
  top: 0;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 17px 22px;
  border-bottom: 1px solid #f0eaf6;

  background: #ffffffed;
  backdrop-filter: blur(7px);
}

.dialog-heading h2 {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.4px;
}

.dialog-body {
  padding: 23px;
}

.modal-lead {
  margin-bottom: 20px;
  color: #8b7f9c;
  font-size: 13px;
  line-height: 1.9;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 0;
  list-style: none;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;

  margin-bottom: 16px;

  color: #82708e;
  font-size: 12px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 43px;
  padding: 11px 12px;

  border: 1px solid #e9e0f2;
  border-radius: 9px;

  background: #fdfbff;
  color: #5e4e70;
  font-size: 13px;
}

.form-error {
  color: #bc6578;
  font-size: 11px;
  line-height: 1.8;
}

.empty-state {
  padding: 16px 0;
  color: #a698b1;
  font-size: 11px;
  line-height: 1.9;
}

.empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: #8e7f99;
  font-size: 12px;
}

.dialog-body .goal-row {
  padding: 12px;
  border: 1px solid #efe6f8;
  border-radius: 10px;
}

.dialog-body .goal-title {
  font-size: 12px;
}

.dialog-body .goal-meta {
  font-size: 10px;
}

.dialog-body .goal-toggle {
  width: 18px;
  height: 18px;
  min-width: 18px;
}

.dialog-body .text-button {
  font-size: 11px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 114px);
  z-index: 200;

  max-width: calc(100vw - 32px);
  padding: 13px 20px;
  border-radius: 12px;

  background: #4b3c66;
  color: #ffffff;
  box-shadow: 0 8px 30px #39245026;

  font-size: 12px;
  line-height: 1.7;

  transform: translateX(-50%);
}

.sidebar-backdrop {
  display: none;
}

/* Màn hình lớn */
@media (min-width: 1600px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .hero-content {
    padding: 34px;
  }

  .welcome-card {
    min-height: 290px;
  }

  .subject-card {
    min-height: 193px;
    padding: 24px 20px 17px;
  }

  .subject-name {
    font-size: 15px;
  }

  .subject-description {
    font-size: 9px;
  }

  .subject-footer small {
    font-size: 8px;
  }

  .panel-heading h2 {
    font-size: 14px;
  }

  .progress-ring {
    width: 132px;
    height: 132px;
  }

  .progress-content {
    gap: 26px;
  }

  .progress-copy p,
  .progress-legend {
    font-size: 10px;
  }
}

@media (max-width: 1260px) {
  .sidebar {
    width: 205px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .workspace {
    margin-left: 205px;
  }

  .topbar {
    padding: 0 24px;
  }

  .page-content {
    padding-right: 24px;
    padding-left: 24px;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 20px;
  }

  .hero-content {
    padding: 25px 22px;
  }

  .hero-secondary {
    display: none;
  }

  .subject-grid {
    gap: 9px;
  }

  .subject-card {
    padding: 17px 12px 12px;
  }

  .subject-description {
    font-size: 6.5px;
  }

  .progress-content {
    gap: 12px;
  }

  .progress-ring {
    width: 96px;
    height: 96px;
    padding: 9px;
  }

  .progress-ring-inner strong {
    font-size: 21px;
  }

  .panel {
    padding: 18px 15px;
  }

  .lower-grid {
    gap: 13px;
  }

  .topbar-actions {
    gap: 12px;
  }

  .toast {
    left: calc(50% + 102px);
  }
}

@media (max-width: 1100px) {
  .sidebar {
    width: 228px;
    transform: translateX(-100%);
    transition: transform 0.25s;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .workspace {
    margin-left: 0;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .topbar {
    gap: 14px;
  }

  .sidebar-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 45;

    display: block;

    border: 0;
    background: #31254245;
    backdrop-filter: blur(2px);
  }

  .toast {
    left: 50%;
  }

  .hero-secondary {
    display: inline;
  }

  .subject-description {
    font-size: 8px;
  }
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 20px;
    padding-top: 7px;
  }

  .attendance-widget {
    grid-row: span 2;
  }

  .hero-content {
    width: 60%;
    padding: 30px;
  }

  .hero-art {
    width: 42%;
  }

  .hero-art img {
    width: 100%;
    max-height: 290px;
  }

  .welcome-card {
    min-height: 290px;
  }

  .subject-card {
    min-height: 180px;
  }

  .subject-description {
    font-size: 9px;
  }

  .subject-name {
    font-size: 14px;
  }

  .quick-stat > div > span {
    font-size: 9px;
  }

  .panel-heading h2 {
    font-size: 14px;
  }

  .text-button {
    font-size: 10px;
  }

  .progress-content {
    gap: 23px;
  }

  .progress-ring {
    width: 120px;
    height: 120px;
  }

  .progress-copy > p,
  .progress-legend {
    font-size: 10px;
  }

  .notification-copy strong,
  .notification-copy p,
  .goal-title {
    font-size: 11px;
  }

  .notification-copy small,
  .goal-meta {
    font-size: 9px;
  }

  .goals-subtitle,
  .goal-note {
    font-size: 9px;
  }

  .progress-ring-inner > span {
    font-size: 8px;
  }

  .progress-ring-inner strong {
    font-size: 26px;
  }

  .upcoming-item strong {
    font-size: 11px;
  }

  .upcoming-item small {
    font-size: 9px;
  }

  .add-plan-button {
    font-size: 10px;
  }

  .page-footer {
    font-size: 8px;
  }

  .profile-copy strong {
    font-size: 12px;
  }

  .profile-copy small {
    font-size: 9px;
  }

  .search-form input {
    font-size: 11px;
  }
}

/* Điện thoại */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 88px;
  }

  .topbar {
    height: 73px;
    padding: 0 16px;
    gap: 9px;
  }

  .topbar-actions {
    gap: 5px;
  }

  .topbar-separator,
  .profile-copy,
  .profile-chevron,
  .search-form kbd {
    display: none;
  }

  .profile-avatar {
    width: 33px;
    height: 33px;
    font-size: 11px;
  }

  .search-form {
    height: 39px;
    padding: 0 10px;
    gap: 7px;
  }

  .search-form input {
    background: none;
    font-size: 10px;
  }

  .search-form input::placeholder {
    color: transparent;
  }

  .mobile-menu {
    width: 30px;
  }

  .bell-button {
    width: 32px;
  }

  .search-wrap {
    max-width: none;
  }

  .page-content {
    padding: 22px 17px 0;
  }

  .today-chip {
    margin-top: 22px;
    padding: 6px;
    gap: 5px;
    font-size: 7px;
  }

  .today-chip .icon {
    display: none;
  }

  .welcome-card {
    min-height: 265px;
    border-radius: 18px;
    align-items: flex-start;
  }

  .hero-content {
    width: 75%;
    padding: 24px 20px;
  }

  .hero-content p {
    max-width: 210px;
    font-size: 9px;
  }

  .hero-art {
    top: 45px;
    right: -28px;
    width: 42%;
    opacity: 0.75;
  }

  .hero-art img {
    width: 140%;
    max-height: 220px;
    transform: translateY(15px);
  }

  .hero-orbit {
    right: -28px;
    width: 155px;
    height: 155px;
  }

  .hero-art-label,
  .hero-star {
    display: none;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-secondary {
    display: none;
  }

  .primary-button,
  .secondary-button {
    min-height: 40px;
    padding: 10px 13px;
    font-size: 10px;
  }

  .quick-stats {
    gap: 8px;
    padding: 19px 0 24px;
  }

  .quick-stat {
    gap: 7px;
    align-items: flex-start;
  }

  .stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .stat-icon .icon {
    width: 14px;
    height: 14px;
  }

  .quick-stat strong {
    font-size: 15px;
  }

  .quick-stat > div > span {
    max-width: 72px;
    font-size: 7px;
    line-height: 1.7;
  }

  .section-heading h2 {
    font-size: 17px;
  }

  .section-note {
    font-size: 7px;
  }

  .subject-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .subject-card {
    min-height: 172px;
    padding: 19px 17px 13px;
  }

  .subject-description {
    font-size: 8px;
  }

  .subject-footer small {
    font-size: 8px;
  }

  .lower-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 21px;
  }

  .panel {
    padding: 20px;
  }

  .progress-content {
    justify-content: flex-start;
    gap: 32px;
    padding: 23px 4px;
  }

  .progress-ring {
    width: 126px;
    height: 126px;
    padding: 11px;
  }

  .progress-copy > p,
  .progress-legend {
    font-size: 11px;
  }

  .pill {
    font-size: 7px;
  }

  .panel-footnote {
    font-size: 9px;
  }

  .upcoming-list {
    min-height: auto;
  }

  .upcoming-list > .muted {
    padding: 10px 0;
  }

  .right-column {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 10px;
  }

  .attendance-widget {
    grid-row: auto;
  }

  .page-footer {
    flex-direction: column;
    gap: 3px;
    padding: 19px 0;
  }

  .profile-menu {
    right: 0;
    width: 255px;
  }

  .notification-popover {
    right: -42px;
    width: 260px;
  }

  .search-results {
    position: fixed;
    top: 65px;
    right: 17px;
    left: 17px;
    width: auto;
  }

  .main-dialog {
    max-height: 88svh;
  }

  .dialog-heading {
    padding: 15px 18px;
  }

  .dialog-body {
    padding: 20px;
  }

  .toast {
    width: max-content;
    max-width: calc(100% - 30px);
    font-size: 11px;
  }

  .goal-title,
  .notification-copy strong,
  .notification-copy p {
    font-size: 11px;
  }

  .goal-toggle {
    width: 17px;
    height: 17px;
    min-width: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Điều chỉnh cỡ chữ */
.brand-note{font-size:10px}
.nav-item{font-size:12px}
.nav-heading{font-size:9px}
.nav-tag{font-size:8px}
.daily-note strong{font-size:12px}
.daily-note p,.sidebar-footer{font-size:9px}
.logout-button{font-size:12px}
.search-form input{font-size:12px}
.profile-copy strong{font-size:12px}
.profile-copy small{font-size:10px}
.eyebrow{font-size:9px}
.today-chip{font-size:10px}
.hero-content p{font-size:12px}
.primary-button,.secondary-button{font-size:12px}
.hero-secondary{font-size:10px}
.quick-stat strong{font-size:20px}
.quick-stat>div>span{font-size:10px}
.section-heading .eyebrow{font-size:8px}
.section-note{font-size:10px}
.subject-name{font-size:15px}
.subject-description{font-size:10px;white-space:normal}
.subject-footer small{font-size:9px}
.panel-heading h2{font-size:14px}
.text-button{font-size:10px}
.progress-copy>p,.progress-legend{font-size:10px}
.pill{font-size:8px}
.progress-ring-inner>span{font-size:8px}
.panel-footnote{font-size:9px}
.add-plan-button{font-size:10px}
.page-footer{font-size:9px}

.notification-item {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.notification-item:hover .notification-copy strong {
  color: var(--primary);
}

.notification-copy strong,
.notification-copy p,
.goal-title {
  font-size: 11px;
}

.notification-copy small,
.goal-meta,
.goals-subtitle,
.goal-note {
  font-size: 9px;
}

.notification-badge {
  color: transparent;
  font-size: 0;
}

.notification-popover .notification-item {
  margin-top: 15px;
}

.progress-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-legend-item > i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
}

.progress-legend-item > strong {
  margin-left: auto;
  font-size: 9px;
  font-weight: 500;
}

.progress-legend li::before {
  display: none;
}

.goal-row > .goal-toggle {
  appearance: auto;

  display: flex;
  align-items: flex-start;
  gap: 9px;
  flex: 1;

  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;

  border: 0;
  border-radius: 0;
  background: none;
}

.goal-toggle input[type="checkbox"] {
  appearance: none;

  display: inline-grid;
  place-items: center;

  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0;

  border: 1.5px solid #ddd5ea;
  border-radius: 50%;
  background: #ffffff;

  cursor: pointer;
}

.goal-toggle input[type="checkbox"]:checked {
  border-color: #9986ca;
  background: #9986ca;
}

.goal-toggle input[type="checkbox"]:checked::after {
  content: "✓";
  color: #ffffff;
  font-size: 10px;
}

.goal-copy {
  display: block;
  min-width: 0;
}

.goal-title {
  display: block;
}

.goal-row:has(input:checked) .goal-title {
  color: #b2a8bc;
  text-decoration: line-through;
}

.upcoming-item {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  column-gap: 9px;
  row-gap: 3px;
  text-align: left;
}

.upcoming-mark {
  grid-row: span 2;
  color: #baa7d1;
}

.upcoming-item strong,
.upcoming-item small {
  grid-column: 2;
  min-width: 0;
  margin: 0;
}

.upcoming-item strong {
  font-size: 11px;
}

.upcoming-item small {
  font-size: 9px;
}

.search-empty {
  padding: 12px;
  color: var(--muted);
  font-size: 11px;
}

.sidebar.is-open {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

.toast.is-error {
  background: #9b5063;
}

@media (max-width: 600px) {
  .hero-content p{font-size:10px}
  .today-chip{font-size:8px}
  .quick-stat strong{font-size:17px}
  .quick-stat>div>span{font-size:8px}
  .subject-description{font-size:9px}
  .search-form input{font-size:11px}
  .primary-button,.secondary-button{font-size:11px}
}

/* Lời chào nằm trong ô tím */
.welcome-card .hero-content {
  padding-top: 34px;
  padding-bottom: 30px;
}

.welcome-card .hero-greeting-label {
  margin: 0 0 13px;
  color: #9986c0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.7;
}

.welcome-card .hero-greeting-title {
  margin: 0;
  color: #393458;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 700;
  letter-spacing: -1.3px;
  line-height: 1.35;
}

.welcome-card .hero-greeting-title .wave {
  display: inline-block;
  font-size: 0.75em;
  vertical-align: baseline;
}

.welcome-card .hero-greeting-intro {
  max-width: 35ch;
  margin: 15px 0 0;
  color: #8982a6;
  font-size: 12px;
  line-height: 1.9;
}

.welcome-card .hero-date {
  position: static;

  width: fit-content;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 7px 10px;

  border-color: #e0d9f2;
  background: #ffffff80;

  color: #9b90ad;
  font-size: 9px;
  white-space: normal;
}

.main-column > .lower-grid {
  margin: 0 0 27px;
}

@media (min-width: 1600px) {
  .welcome-card .hero-content {
    padding: 38px 34px;
  }

  .welcome-card .hero-greeting-title {
    font-size: 43px;
  }

  .welcome-card .hero-greeting-intro {
    font-size: 13px;
  }
}

@media (max-width: 1260px) {
  .welcome-card .hero-greeting-title {
    font-size: 32px;
  }

  .welcome-card .hero-greeting-label {
    font-size: 9px;
    letter-spacing: 1.1px;
  }

  .welcome-card .hero-date {
    padding: 6px 8px;
    font-size: 8px;
  }
}

@media (max-width: 900px) {
  .welcome-card .hero-greeting-title {
    font-size: 38px;
  }

  .welcome-card .hero-content {
    padding: 34px 30px;
  }

  .welcome-card .hero-greeting-intro {
    font-size: 12px;
  }

  .welcome-card .hero-date {
    font-size: 9px;
  }
}

@media (max-width: 600px) {
  .welcome-card .hero-content {
    width: 80%;
    padding: 24px 20px;
  }

  .welcome-card .hero-greeting-label {
    margin-bottom: 11px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .welcome-card .hero-greeting-title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .welcome-card .hero-greeting-intro {
    margin-top: 11px;
    font-size: 11px;
    line-height: 1.9;
  }

  .welcome-card .hero-date {
    position: static;
    width: fit-content;
    max-width: 100%;
    margin-top: 12px;
    font-size: 8px;
    white-space: normal;
  }

  .welcome-card .hero-actions {
    margin-top: 17px;
  }

  .main-column > .lower-grid {
    margin-bottom: 25px;
  }
}

/*FOOTER*/
/* KHUNG MENU VÀ NỘI DUNG */
.qurio-page-shell {
  min-height: 100vh;
  min-height: 100dvh;
}

.qurio-page-shell > .workspace {
  min-width: 0;
  margin-left: 0;
}

.qurio-page-shell .page-content {
  padding-bottom: 32px;
}

@media (min-width: 1101px) {
  .qurio-page-shell {
    display: grid;
    grid-template-columns: 228px minmax(0, 1fr);
    align-items: start;
  }

  .qurio-page-shell > .sidebar {
    position: sticky;
    inset: auto;
    top: 0;
    align-self: start;
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }
}

@media (min-width: 1101px) and (max-width: 1260px) {
  .qurio-page-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
}

/* CHÂN TRANG */
.qurio-footer,
.qurio-footer * {
  box-sizing: border-box;
}

.qurio-footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 42px clamp(20px, 4vw, 64px) 22px;

  border: 0;
  border-radius: 0;

  background:
    radial-gradient(
      ellipse at 0% 0%,
      #635b9b18,
      transparent 65%
    ),
    #131a2e;

  color: #e9ecf3;
}

.qurio-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: #c4b5fd40;
}

.qurio-footer p,
.qurio-footer h2 {
  margin: 0;
}

.qurio-footer a {
  color: inherit;
  text-decoration: none;
}

.qurio-footer-top,
.qurio-footer-bottom {
  max-width: 1480px;
  margin-inline: auto;
}

.qurio-footer-top {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 1fr)
    minmax(0, 0.9fr);

  align-items: start;
  gap: clamp(24px, 4vw, 60px);
}

.qurio-footer-top > * {
  min-width: 0;
}

/* LOGO VÀ GIỚI THIỆU */
.qurio-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;

  color: #f0f2f7;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1;
}

.qurio-footer-brand img {
  display: block;
  flex: none;

  width: 40px;
  height: 46px;
  padding: 0;

  border: 0;
  border-radius: 0;
  background: transparent;

  object-fit: contain;
  filter: brightness(1.4) saturate(0.9);
  box-shadow: none;
}
/* Bỏ dấu chấm và khẩu hiệu viết hoa */
.qurio-footer-dot,
.qurio-footer-tagline {
  display: none;
}

.qurio-footer-intro .qurio-footer-description {
  max-width: 350px;
  margin-top: 16px;

  color: #b8bfce;
  font-size: 12px;
  line-height: 1.9;
}

.qurio-footer h2 {
  margin-bottom: 17px;

  color: #edf0f6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.6;
}

/* MẸO HỌC TẬP */
.qurio-footer-tips {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qurio-footer-tips li {
  display: block;
  color: #b8bfce;
  font-size: 12px;
  line-height: 1.8;
}

.qurio-footer-tips li::before {
  content: none;
  display: none;
}

.qurio-footer-contact > p {
  max-width: 310px;
  margin-bottom: 18px;

  color: #b8bfce;
  font-size: 12px;
  line-height: 1.9;
}

/* BIỂU TƯỢNG MẠNG XÃ HỘI */
.qurio-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qurio-footer-socials a {
  display: grid;
  place-items: center;
  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  border: 1px solid #ffffff26;
  border-radius: 50%;
  background: #ffffff05;
  color: #d7dce7;
}

/* Giữ SVG đúng kích thước, tránh bị phóng lớn */
.qurio-footer-socials svg {
  display: block;
  flex: none;

  width: 19px;
  height: 19px;
  max-width: 19px;
  max-height: 19px;

  fill: currentColor;
}

.qurio-footer-socials a:not([aria-disabled="true"]):hover {
  border-color: #d7d0ee;
  background: #d7d0ee;
  color: #131a2e;
}

.qurio-footer-socials a[aria-disabled="true"] {
  cursor: default;
}

/* BẢN QUYỀN VÀ CHÍNH SÁCH */
.qurio-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;

  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #ffffff1a;

  color: #aab2c2;
  font-size: 11px;
  line-height: 1.8;
}

.qurio-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.qurio-footer-legal a {
  color: #bec5d4;
}

.qurio-footer-legal a:hover {
  color: #d7d0ee;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.qurio-footer a:focus-visible {
  outline: 3px solid #d7d0ee;
  outline-offset: 4px;
}

/* MÁY TÍNH BẢNG */
@media (max-width: 1100px) {
  .qurio-footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }

  .qurio-footer-intro {
    grid-column: 1 / -1;
  }

  .qurio-footer-intro .qurio-footer-description {
    max-width: 560px;
  }
}

/* ĐIỆN THOẠI */
@media (max-width: 640px) {
  .qurio-footer {
    padding-top: 32px;
  }

  .qurio-footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .qurio-footer-intro {
    grid-column: auto;
  }

  .qurio-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
  }
}
/* QURIO · MÀU SẮC RÕ NÉT HƠN, VẪN GIỮ PHONG CÁCH TRANG CHỦ */
:root { --ink:#202448; --text:#41496a; --muted:#6e7694; --primary:#6250e8; --primary-dark:#4935cf; --line:#e4e5f1; --surface:#f3f5fc; --lavender:#e9e5ff; }
.sidebar .nav-item { color:#626b89; font-weight:550; }
.sidebar .nav-heading { color:#848caf; font-weight:750; }
.sidebar .nav-item:hover { background:#f0edff; color:#5844df; }
.sidebar .nav-item.active, .sidebar .nav-item[aria-current="page"] { background:#eae6ff; color:#5a46e4; font-weight:750; }
.sidebar .nav-item.active .icon, .sidebar .nav-item[aria-current="page"] .icon { color:#5a46e4; }
.sidebar .nav-item.active .active-dot, .sidebar .nav-item[aria-current="page"] .active-dot { background:#604be7; }
.brand-note { color:#838aab; }
